	package net.seehealth.healthpad.ui;

import net.seehealth.healthpad.R;
import net.seehealth.healthpad.application.adapter.GridViewAdapter;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;

public class MachineSettingsActivity extends GridViewActivity{
	
	@Override
	protected void initData() {
		mTitle.setText("本机设置");
		
		int[] ids = new int []{1,1,1,1,1,1,1,1,1,1};
		String[] contents = {"相框、登录等设置",
				"WIFI、蓝牙、以太网等设置",
				"家庭成员管理",
				"自定义个性化闹钟",
				"设置铃音、提示音、音量等",
				"设置日期、时间及其格式",
				"设置亮度、待机、动画效果等",
				"选择输入法，进行输入法配置",
				"使用说明",
				"系统信息及免责声明等"};
		int[] imgs = new int[] { R.drawable.gridview_basic_settings,
				R.drawable.gridview_wireless_and_network, R.drawable.gridview_user_management,
				R.drawable.gridview_alarm_clock, R.drawable.gridview_sound,
				R.drawable.gridview_date_and_time, R.drawable.gridview_display,
				R.drawable.gridview_input_method, R.drawable.gridview_help,
				R.drawable.gridview_about};
		
		mGridViewAdapter = new GridViewAdapter(this, contents, imgs, ids, false);
		mGridView.setAdapter(mGridViewAdapter);
		mGridView.setOnItemClickListener(onItemClick);
	}
 
	OnItemClickListener onItemClick = new OnItemClickListener() {

		@Override
		public void onItemClick(AdapterView<?> arg0, View arg1, int arg2,
				long arg3) {
		}
	};
}
